package com.hyt.it.ogt.ykcj.feign.cloudfile;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hyt.common.apiInfor.ApiResponse;
import com.hyt.it.ogt.ykcj.common.exception.CustomException;
import com.hyt.model.cloudefile.apiparams.FileDetailVerifyParam;
import com.hyt.model.cloudefile.entity.CloudeFileProjectDetailVerify;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * feign客户端熔断器
 */
@Component
@Slf4j
public class RecordDetilVerifyClientHystrix implements RecordDetilVerifyClient {

    @Override
    public   ApiResponse<Page<CloudeFileProjectDetailVerify>> queryfileDetialVerifyByPage( FileDetailVerifyParam fileDetailVerifyParam){
        throw new CustomException("无法获取考试导入校验记录详细信息！");
    }


    @Override
    public ApiResponse<Boolean> removefileDetailVerify(FileDetailVerifyParam fileDetailVerifyParam) {
        throw new CustomException("删除考试导入校验记录详细信息！");
    }
}
